package com.uwo.house.service;

import com.uwo.house.beans.request.HouseAddReq;
import com.uwo.house.beans.request.ModifySampleReq;
import com.uwo.house.beans.request.SampleHouseReq;
import com.uwo.house.beans.response.SampleHousesResp;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by YZYG on 2017/7/19.
 */
public interface ISampleHousesService {
    List<SampleHousesResp> getSampleHouses(SampleHouseReq sampleHouseReq);

    SampleHousesResp getSampleHouseById(int houseId);

    int addSampleHouses(HouseAddReq houseAddReq);

    int updateSampleHouses(ModifySampleReq modifySampleReq);

    int deleteSampleHouses(int houseId);

    List<SampleHousesResp> getSampleHousesByCondition(String province,String city,String blockName, String houseType, String space, String decorationStyle,
                                                      Double areaSizeFrom, Double areaSizeTo, BigDecimal dealPriceFrom, BigDecimal dealPriceTo, String searchKey);
}
